home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / masndos2.zip / MAILSEND.TXT < prev    next >
Text File  |  1996-06-19  |  14KB  |  407 lines

  1.  
  2.             DataEnter, Michael Kocum
  3.             Taborstrasse 27/23
  4.             A-1020 Vienna
  5.             AUSTRIA
  6.  
  7.         CIS: 70143,1667
  8.         MHS: MICHAEL @ DEMK (via CSERVE)
  9.    Internet: michael@demk.co.at
  10.         Fax: +43/1/214 38 29
  11.  
  12.  
  13.  
  14.  
  15.  
  16. Introduction to MailSend
  17. ------------------------
  18.  
  19. MailSend is a add-on for Microsoft Mail and Windows for Workgroups.
  20. MailSend sends messages from the command line or from batch files.
  21.  
  22.  
  23. Some suggestion as to what you can do:
  24.  
  25. -After you do your overnight backup, send the backup log to your mailbox
  26.  
  27. -Send your monthly report to your boss
  28.  
  29. -In a more sophisticated enviroment, you can export data out of your
  30.  application, pass it to MailSend as an attachment. MailSend will send
  31.  it to the destination and there you can use MailExtr to convert it back
  32.  to a file and import it in your application. In fact, a lot of
  33.  customers make their database updates via MailSend and MailExtr.
  34.  
  35.  
  36.  
  37. System Requirements
  38. -------------------
  39.  
  40.   DOS   version :  DOS 3.3
  41.   Win16 version :  Windows 3.1
  42.   Win32 version :  Windows NT 3.1 or Windows 95
  43.   OS/2  version :  OS/2 2.x
  44.  
  45.   Microsoft Mail, version 3.2 or
  46.   Windows for Workgroups or
  47.   Microsoft Exchange 4.0 or
  48.   MAPI.DLL ( optional in Win16 version ) or
  49.   MAPI32.DLL ( optional in Win32 version )
  50.  
  51.  
  52. Installation
  53. ------------
  54.  
  55.   - Create a directory of your choice copy MAILSEND.EXE into this
  56.     directory.
  57.  
  58.   - Use your editor to create a MAILSEND.DEF file for your common used
  59.     arguments (see section "Using MAILSEND.DEF").
  60.  
  61.  
  62. Arguments
  63. ---------
  64.  
  65. MailSend uses the following arguments:
  66.  
  67.  
  68. -mt                  Use MAPI as transport service
  69.                      ( Win16 and Win32 version only )
  70.  
  71.  
  72. -f<Mailbox>          Mailbox name
  73.                      or transport service name of you use the Exchange
  74.                      Client and MAPI (-mt)
  75.  
  76.                      Note: Argument is not necessary if you use MAPI (-mt).
  77.  
  78.  
  79. -p<Password>         Mailbox password (default is no password)
  80.  
  81.                      Note: Argument is not necessary if you use MAPI (-mt).
  82.  
  83.  
  84. -t<Dest>             Destination address in full Microsoft format
  85.                      or in the format your gateway requires it.
  86.                      Multiple addresses are allowed.
  87.  
  88.                      Format for MSMail 3.x is:
  89.                      Network/Postoffice/User
  90.  
  91.                      Format for Exchange is:
  92.                      EX:/o=Org/ou=ORGUNIT/cn=Recipients/cn=Mailbox
  93.  
  94.  
  95.                      Note: When using MAPI (-mt) on a Windows NT
  96.                            machine running MSMail for NT, the user part
  97.                            of the address is case sensitive.
  98.  
  99.                      If you are sending a message to a user on you own
  100.                      postoffice, you can use a simpler addressing format
  101.                      and let MailSend resolve the address. You will find
  102.                      more information about resolving addresses in the
  103.                      section "Resolving address" below.
  104.  
  105.                      You can send to multiply addresses by using more
  106.                      than one -t switch.
  107.  
  108.                      Note: Resolving an address is not available if you
  109.                            use MAPI (-mt)
  110.  
  111.  
  112. -c<Dest>             Carbon Copy ( CC ) destination address in full
  113.                      Microsoft format (Network/Postoffice/User) or in
  114.                      the format your gateway requires it.
  115.  
  116.  
  117. -s<Subject>          Subject for message
  118.  
  119.  
  120. -d<Drive>            Drive where MailData is located (default drive M)
  121.                      or full path to MailData.
  122.  
  123.                      Note: Argument is not necessary if you use MAPI (-mt).
  124.  
  125.                      If MailSend does not find a postoffice on the given
  126.                      drive, it will scan all your drives from C: to Z:
  127.                      for a postoffice and uses the first one it finds.
  128.  
  129.                      If there is still no postoffice found, it will try
  130.                      to find your MSMAIL.INI and read the postoffice
  131.                      drive from it.
  132.  
  133.                      In the unlikly event that MailSend can't find the
  134.                      postoffice in this way, it will give you an error.
  135.  
  136.                      You can start MailSend with the -l option and
  137.                      it will help you finding the postoffice.
  138.  
  139.  
  140. -i<ImportFile>       File to import for message bod. If the file size is
  141.                      more than 32KB it will be converted to an
  142.                      attachment.
  143.  
  144.  
  145. -a<AttachFile>       File(s) to attach to message. Multiple files and
  146.                      wildcards are allowed.
  147.  
  148.  
  149. -b<Priority>         Priority for the message (1-5 or R for Recipient)
  150.  
  151.  
  152. -1                   Enable Single To Mode.
  153.                      In Single To Mode, MailSend sends one message for
  154.                      every To address ( -t ) and every CC address ( -c )
  155.                      instead of a single message with all the To's and
  156.                      CC's. This is useful if you want to send a message
  157.                      to more that one address, but each recipient should
  158.                      not see all the other recipients.
  159.  
  160.  
  161. -w                   Wait on exit for a keypress.
  162.                      Useful if you start MailSend as a second task and
  163.                      you want to see the screen output before MailSend
  164.                      exits.
  165.  
  166.  
  167. -@<ArgFile>          Read additional argument from a file (-@FILE.EXT)
  168.  
  169.                      You can create the file with your editor or
  170.                      with NotePad and write one line for every argument.
  171.                      ( see example for ARG.TXT below )
  172.  
  173.  
  174. -l                   Scans your drives for a postoffice
  175.  
  176.                      If you have no idea where your postoffice is
  177.                      located and MailSend will not find it, you can use
  178.                      this option. After completion, write down the path
  179.                      and use it the next time you send a message.
  180.  
  181.  
  182. Samples
  183. -------
  184.  
  185.  
  186.    To send mail from Admin with a password of PASSWORD to
  187.    Rick (located on Network NET and postoffice POST) and your maildrive
  188.    is M: use the following:
  189.  
  190.    MailSend -fAdmin -pPassword -dM -tNet/Post/Rick -sTestmail
  191.  
  192.  
  193.    To attach a file to the message:
  194.  
  195.    MailSend -fAdmin -pPassword -dM -tNet/Post/Rick -sTestMail -aATTACH.XLS
  196.  
  197.    Same as above with an argument file:
  198.  
  199.    MailSend -@ARG.TXT
  200.  
  201.  
  202. Sample ARG.TXT
  203. --------------
  204.  
  205.    -fAdmin
  206.    -pPassword
  207.    -dM
  208.    -tNet/Post/Rick
  209.    -sTestMail
  210.    -aATTACH.XLS
  211.    <End of file>
  212.  
  213.  
  214.  
  215. Using MAILSEND.DEF
  216. ------------------
  217.  
  218. Every time MailSend starts its looks for MAILSEND.DEF in the directory
  219. where MAILSEND.EXE resides. MAILSEND.DEF can be used to provide MailSend
  220. with default arguments. If your postoffice is always at the same
  221. drive its a good idea to use a MAILSEND.DEF to use your drive as the
  222. default.
  223.  
  224. You can create MAILSEND.DEF with your editor or with NotePad and
  225. write one line for every argument.
  226.  
  227. Here is a sample MAILSEND.DEF:
  228.  
  229.    -dM
  230.    <End of file>
  231.  
  232.  
  233.  
  234.  
  235. Resolving address
  236. -----------------
  237.  
  238. Note: Resolving an address is not available if you use MAPI (-mt)
  239.  
  240. MailSend can resolve your address to a full address. This is a real
  241. shortcut if you send a message to a user in your own network/postoffice
  242. or if you don't know your network/postoffice. WFW and Win95 users can
  243. always use this option, because there is only one postoffice.
  244.  
  245. How it works:
  246.  
  247. When MailSend detects that there is no valid address given, it will take
  248. a look inside the global address book and will try to find an address
  249. with matches your input. First it looks at every mailbox name and then
  250. at every alias name on you postoffice, and if it finds one, its uses its
  251. address.
  252.  
  253. Assume your network is called "Network" and your postoffice is
  254. "Postoffice" and you want to send to a mailbox "MillerC" with an alias
  255. of "Carl Miller".
  256.  
  257. The traditional way is to use -tNetwork/Postoffice/MillerC, which is
  258. the full add